#include "Searcher.hpp"

static const std::string raw_path = "./data/raw_html/raw.txt";
int main()
{
    ns_searcher::Searcher searcher;
    searcher.InitSearcher(raw_path);

    std::string query;
    std::string json_string;
    while (true)
    {
        std::cout << "Please Enter Query: ";
        std::getline(std::cin, query);
        searcher.Search(query, &json_string);
        std::cout << json_string << std::endl;
    }

    return 0;
}